home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
borland
/
jnfb88.zip
/
PALPRO.ZIP
/
HYPO.SC
< prev
next >
Wrap
Text File
|
1987-10-07
|
225b
|
12 lines
PROC Hypotenuse(x,y)
w=x*x
z=y*y
RETURN (SQRT(w+z))
ENDPROC
x = 4
y = 5
? "If a right triangle has sides ",x," and ",y,","
? "then its hypotenuse is ",Hypotenuse(x,y),"."
SLEEP 4000